package cn.tedu.charging.order.pojo.po;

import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.math.BigDecimal;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Document(indexName = "charging_process_2407")
public class ChargingProcessPO {
    @Id
    Long id;
    /**
     * 订单号
     */
    String orderNo;

    /**
     * 枪id
     */
    Integer gunId;

    /**
     * 用户id
     */
    Integer userId;

    Float chargingCapacity;

    BigDecimal totalCost;

    /**设备的状态数据，例如温度*/
    Float temperature;

    Boolean isFull;
}
